<?php $this->load->view('admin/public/head.html', array('css' => array(
'/assets/admin/css/admin/common.css'
))); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper" ng-controller="admin-bbs-slider-setting-controller">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            社区管理
            <small>前后台用户发帖管理</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 后台首页</a></li>
            <li class="active"><a href="/bbs/lists/index">帖子列表</a></li>
            <li class="active">发贴设置</li>
        </ol>
    </section>

    <section class="content bbs-publish">
        <div class="row">
            <div class="col-md-12">
                <!-- Horizontal Form -->
                <div class="box box-info">
                    <div class="box-header with-border">
                        <h3 class="box-title">常规设置</h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form class="form-horizontal">
                        <div class="box-body">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">显示昵称</label>
                                <div class="col-sm-9">
                                    <input type="text" ng-model="setting.nickname" class="form-control" id="digg" placeholder="设置默认昵称">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">头像设置</label>
                                <div class="col-sm-9">
                                    <div class="bbs-img-lists" ng-show="viewThumb">
                                        <img style="width: 100px; height: 100px;" ng-src="{{ setting.thumb }}" alt="">
                                    </div>
                                    <a href="javascript:void(0);" class="bbs-add-btn" id="thumbBtn">&nbsp;&nbsp;</a>
                                </div>
                            </div>
                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer">
                            <button type="submit" class="btn btn-info pull-right" ng-click="submit()">立即设置</button>
                        </div>
                        <!-- /.box-footer -->
                    </form>
                </div>
                <!-- /.box -->
            </div>
        </div>
    </section>
</div>
<!-- /.content-wrapper -->
<?php $this->load->view('admin/public/foot.html', array(
    'js' => array(
        'http://cdn.staticfile.org/webuploader/0.1.0/webuploader.flashonly.min.js',
        '/assets/admin/js/bbs/slider/setting.js'
))); ?>
